package com.hongye.house.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 房源：租房表
 * 
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-10-14 13:32:23
 */
@Data
@TableName("lease_home")
public class LeaseHomeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 租房id
	 */
	@TableId
	private Integer houseId;
	/**
	 * 楼盘id
	 */
	private Integer houseNameId;
	/**
	 * 详细地址
	 */
	private String houseAddress;
	/**
	 * 租金
	 */
	private Integer housePrice;
	/**
	 * 排序
	 */
	private Integer houseSort;
	/**
	 * 更新时间
	 */
	private Date houseDate;
	/**
	 * 房屋状态（0为已出租，1为未出租）
	 */
	private Integer houseStatus;
	/**
	 * 经纪人id
	 */
	private Integer houseAgent;
	/**
	 * 房屋描述
	 */
	private String houseDescription;
	/**
	 * 房屋平米
	 */
	private String houseSquaremetre;
	/**
	 * 房屋锁
	 */
	private Integer houseLocking;
	/**
	 * 标签
	 */
	private String houseLabel;
	/**
	 * 所在楼层
	 */
	private String houseFloor;
	/**
	 * 标题
	 */
	private String houseTitle;
	/**
	 * 出租描述
	 */
	private String userHouseDescription;
	/**
	 * 用户id
	 */
	private Integer userId;

	/**
	 * 逻辑删除（1.删除，0.展示）
	 */
	@TableLogic
	private Integer houseDelete;

	/**
	 * 省id
	 */
	private Integer housePid;
	/**
	 * 市id
	 */
	private Integer houseCid;
	/**
	 * 县id
	 */
	private Integer houseYid;

	/**
	 * 房屋类型
	 */
	private int houseType;

	@TableField(exist = false)
	private String Username;
	@TableField(exist = false)
	private String Userphone;

}
